<div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
        <h3 id="myModalLabel">Historial del Usuario</h3>
    </div>
<div class="modal-body">
<div class="row-fluid">
    <div class="block-fluid">
    <?php //debug($ventas2);exit;?>
    <div class="block">
                            <div class="head orange">
                                
                                <h5>Ventas de <?php echo $usuario['User']['nombre'];?></h5>
                                                          
                            </div>                
                                <div class="data-fluid">
                                    <table class="table fTable lcnp" cellpadding="0" cellspacing="0" width="100%">
                                        <thead>
                                            <tr>
                                                
                                                <th >id</th>
                                                <th>Monto</th>
                                                <th>Cliente</th>
                                                <th >Fecha</th>
                                                
                                            </tr>
                                        </thead>
                                        <tbody>
                                        <?php foreach($ventas2 as $ve):?>
                                            <tr>
                                                
                                                <td><?php echo $ve['Recarga']['id']?></td>
                                                <td><span class="label label-important"><?php echo $ve['Recarga']['monto']?></span></td>
                                                <td><?php echo $ve['Cliente']['nombre']?></td>
                                                <td><?php echo $ve['Recarga']['created']?></td>
                                            </tr>
                                        <?php endforeach;?>    
                                                                             
                                        </tbody>
                                    </table>                    
                                </div> 
                        </div>
    
    
    </div>
</div>
</div>


